import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/ticker_currencytoppair_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/ticker_currencytoppair_entity.g.dart';

@JsonSerializable()
class TickerCurrencytoppairEntity {
	@JSONField(name: "market_id")
	String? marketId;
	@JSONField(name: "market_name")
	String? marketName;
	double? id;
	String? pair;

	TickerCurrencytoppairEntity();

	factory TickerCurrencytoppairEntity.fromJson(Map<String, dynamic> json) => $TickerCurrencytoppairEntityFromJson(json);

	Map<String, dynamic> toJson() => $TickerCurrencytoppairEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}